﻿using System;


namespace DailyFx.Book.Repo
{
	public interface ITraits
	{
		/// <summary>
		///		Gets the target file holds the value of the specified datetime .
		/// </summary>
		string  posit ( DateTime key );
	}



	public class HistoryTraits : ITraits
	{
		public string posit(DateTime key)
		{
			return String.Empty;
		}
	}

	public class DailyTraits : ITraits
	{
		public string posit ( DateTime key )
		{
			return key.ToString( "yyyy.MM.dd");
		}
	}

	
}
